<template>
  <div>
    <el-tabs type="border-card" style="min-height: 80vh">
      <el-tab-pane label="代偿申请">
        <repay-apply @success="getRecord"></repay-apply>
      </el-tab-pane>
      <el-tab-pane label="代偿记录">
        <repay-record ref="record"></repay-record>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import RepayApply from '@/bank/views/limit/repay/RepayApply'
import RepayRecord from '@/bank/views/limit/repay/RepayRecord'
export default {
  components: {
    RepayApply,
    RepayRecord,
  },
  data() {
    return {}
  },

  created() {},
  methods: {
    getRecord() {
      this.$refs.record.getData()
    },
  },
}
</script>
<style lang="scss" scoped></style>
